<template>
<p>由 <code>type</code> 属性来选择 Text 的类型。</p>

  <el-text class="mx-1">Default</el-text>
  <el-text class="mx-1" type="primary">Primary</el-text>
  <el-text class="mx-1" type="success">Success</el-text>
  <el-text class="mx-1" type="info">Info</el-text>
  <el-text class="mx-1" type="warning">Warning</el-text>
  <el-text class="mx-1" type="danger">Danger</el-text>
</template>

<style scoped>
@import '../../assets/elementPlusDemo.css'
</style>


